CSS: Basic Fundamental Guide for Beginners by MG Martin

CSS: Basic Fundamental Guide for Beginners by MG Martin

Author:MG Martin [Martin, MG]
Language: eng
Format: epub
Published: 2018-06-19T23:00:00+00:00


<div class="pagefooter">

<p>Here is some text in the footer of your webpage!</p>

</div>

</body>

</html>

Then, copy and paste or manually type the following CSS into a separate file in your text editor and save it at styles.css:

.pageheader, .pagefooter {

clear: both;

background-color: black;

color: white;

padding: 20px;

}

.column {

float: left;

}

.menu {

width: 20%;

padding: 10px;

}

.content {

width: 75%;

}

.menu ul {

list-style-type: none;

margin: 0;

padding: 0;

}

.menu li {

padding: 10px;

margin-bottom: 10px;

background-color: blue;

color: aqua;

text-decoration: bold;

text-align: center;

}

.news {

position: sticky;

background-color: yellow;

text-align: center;

top: 20px;

margin: 0px 5%;

height: 20px;

width: 90%;

border: 2px dashed green;

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.